<template>
  <div id="app">
    <v-header :seller="seller" />
  </div>
</template>

<script>
import vHeader from 'components/v-header/v-header.vue'
import { getSeller } from 'api'

export default {
  name: 'app',
  data () {
    return {
      seller: {}
    }
  },
  created () {
    this._getSeller()
  },
  methods: {
    _getSeller () {
      getSeller().then((seller) => {
        this.seller = seller
      })
    }
  },
  components: {
    vHeader
  }
}
</script>
<style lang="stylus">

</style>
